﻿using System;
using System.Collections.Generic;

#nullable disable

namespace Ant.EntityFrameworkCore.Model
{
    public partial class SalesOrder
    {
        public SalesOrder()
        {
            CommodityOrders = new HashSet<CommodityOrder>();
        }

        public int SalesId { get; set; }
        public decimal Sum { get; set; }
        public decimal Discount { get; set; }
        public int Salesman { get; set; }
        public DateTime? Time { get; set; }
        public int StroeId { get; set; }

        public virtual UserInfo SalesmanNavigation { get; set; }
        public virtual StoreInfo Stroe { get; set; }
        public virtual ICollection<CommodityOrder> CommodityOrders { get; set; }
    }
}
